package com.aaa.service.impl;


import com.aaa.dao.UserDao;
import com.aaa.dao.impl.UserDaoImpl;
import com.aaa.entity.User;
import com.aaa.service.UserService;

import java.util.List;
import java.util.Map;

public class UserServiceImpl implements UserService {

    private  UserDao userDao =  new UserDaoImpl();



    @Override
    public boolean addUser(User user,double amount) {

        return false;
    }

    @Override
    public List<Map<String, Object>> getDataByNearYear() {
        return userDao.getDataByNearYear();
    }
}
